#include "CFootballOutfieldPlayer.h"


CFootballOutfieldPlayer::CFootballOutfieldPlayer(void)
	: CFootballPlayer()
{
}

CFootballOutfieldPlayer::CFootballOutfieldPlayer(int _PosX, int _PosY)
	: CFootballPlayer(_PosX, _PosY)
{
}

CFootballOutfieldPlayer::~CFootballOutfieldPlayer(void)
{
}

bool CFootballOutfieldPlayer::Shot(void)
{
	// hit goal
	if (GetRandom(1, 100) <= s_CONST_CHANCE_TO_HIT_GOAL) {
		return true;
	// miss goal
	} else {
		return false;
	}
}
